package com.dhkj.web.idf;

import com.dhkj.web.idf.model.ActiveWraper;
import com.dhkj.web.idf.model.IDFWraper;
import com.dhkj.web.idf.model.QueryWraper;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface IdfApiUrl {


    @POST("/registration/query")
    Observable<ActiveWraper> registrationQuery();

    @Headers("Content-Type: application/json;charset=UTF-8")
    @POST("/recognition/image/base64_base64")
    Observable<IDFWraper> bigRecognition(@Body RequestBody requestBody);


    @Headers("Content-Type: application/json;charset=UTF-8")
    @POST("/system_options/query")
    Observable<QueryWraper> query(@Body RequestBody requestBody);
}
